package com.sy.dto;

public class Params {
    private Integer pid;
    private String keyWord;
    private Integer driverType;
    private Integer price;
    private Integer sortType;
    private Integer isSort;
    private Integer page;

    public Params() {
    }

    public Params(Integer pid, String keyWord, Integer driverType, Integer price, Integer sortType,Integer isSort, Integer page) {
        this.pid = pid;
        this.keyWord = keyWord;
        this.driverType = driverType;
        this.price = price;
        this.sortType = sortType;
        this.page = page;
        this.isSort=isSort;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public Integer getDriverType() {
        return driverType;
    }

    public void setDriverType(Integer driverType) {
        this.driverType = driverType;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getSortType() {
        return sortType;
    }

    public void setSortType(Integer sortType) {
        this.sortType = sortType;
    }

    public Integer getIsSort() {
        return isSort;
    }

    public void setIsSort(Integer isSort) {
        this.isSort = isSort;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return "Params{" +
                "pid=" + pid +
                ", keyWord='" + keyWord + '\'' +
                ", driverType=" + driverType +
                ", price=" + price +
                ", sortType=" + sortType +
                ", isSort=" + isSort +
                ", page=" + page +
                '}';
    }
}
